package com.nmf.site.biz.pay.wechat.entity;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;


public class WechatPayReq extends WechatCodeReq {
	@NotEmpty(message="支付ID不能为空")
	private String payId;
	@Min(value = 0,message="金额必须大于0")
	private String auth_code ;
	@Min(value = 0,message="金额必须大于0")
	@NotNull(message="金额必须大于0")
	private	Integer amount;
	
	/**
	 * @return the amount
	 */
	public Integer getAmount() {
		return amount;
	}
	/**
	 * @param amount the amount to set
	 */
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public String getAuth_code() {
		return auth_code;
	}
	public void setAuth_code(String auth_code) {
		this.auth_code = auth_code;
	}
	public String getPayId() {
		return payId;
	}
	public void setPayId(String payId) {
		this.payId = payId;
	}
}
